import React, { Component } from 'react'
import { Route, Switch } from 'react-router-dom'
import List from './list'
import AddItem from './addItem'
export default class index extends Component {
    render() {
        return (
            <>
                <Switch>
                    <Route path="/home/product/item/list" component={List}></Route>
                    <Route path="/home/product/item/addItem" component={AddItem}></Route>
                    <Route path="/home/product/item/" component={List}></Route>
                </Switch>
            </>
        )
    }
}
